export default {
	userList: [
		{
			uid: 1001,
			name: '小王',
			avatar: 'https://img1.baidu.com/it/u=284598427,3453401726&fm=253&fmt=auto&app=138&f=JPG?w=501&h=500'
		},
		{
			uid: 1002,
			name: '小红',
			avatar: 'https://img1.baidu.com/it/u=4216761644,15569246&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=500'
		},
		{
			uid: 1003,
			name: '小蓝',
			avatar: 'https://img2.baidu.com/it/u=1347252749,346830019&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500'
		},
	],
	channelList: [
		{
			uid: 1001,
			name: '甜蜜交友双人频道',
			channelId: "demo01",
			avatar: 'https://img1.baidu.com/it/u=284598427,3453401726&fm=253&fmt=auto&app=138&f=JPG?w=501&h=500'
		},
		{
			uid: 1002,
			name: '娱乐交友双人频道',
			channelId: "demo02",
			avatar: 'https://img1.baidu.com/it/u=4216761644,15569246&fm=253&fmt=auto&app=120&f=JPEG?w=500&h=500'
		},
		{
			uid: 1003,
			name: '游戏交友双人频道',
			channelId: "demo03",
			avatar: 'https://img2.baidu.com/it/u=1347252749,346830019&fm=253&fmt=auto&app=138&f=JPEG?w=500&h=500'
		},
	],
	findUser(uid){
		return this.userList.filter(i => i.uid == uid)[0];
	},
	findChannelList(channelId){
		return this.channelList.filter(i => i.channelId == channelId)[0];
	},
	findChannelListByUId(uid){
		return this.channelList.filter(i => i.uid == uid)[0];
	}
}